/**
 * 打印机相关
 *
 */
import request from '@/utils/request'

// 获取打印机列表
export function listPrinter(params) {
  return request({
    url: '/scrm_printer_admin/manage/queryPrinters',
    method: 'get',
    params: params
  })
}

// 编辑打印机
export function editPrinter(data) {
  return request({
    url: '/scrm_printer_admin/manage/setPrinter',
    method: 'post',
    data: data
  })
}

// 删除打印机
export function delPrinter(params) {
  return request({
    url: '/scrm_printer_admin/manage/deletePrinter',
    method: 'get',
    params: params
  })
}
